/*
 定义有依赖的模块
 */

define(['dataService', 'jquery'], function (dataService, $) {
    let name = "Da.";

    function showMsg() {
        $('body').css('background', 'gray');
        alert(dataService.getMsg() + ',' + name);
    }

    //暴露模块
    return {showMsg}
});